package com.cennavi.buss.service;

import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import com.cennavi.buss.service.imp.ISoluService;
import com.cennavi.minemap.bean.MessageBean;

@Component
public class SoluService extends AbstractService implements ISoluService {

	@Override
	public MessageBean insert(String json) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean update(String json) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean delete(int id) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryByUserId(int userId) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryIdNameByUserId(int userId) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryTemplate() {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryTemplate2ByUserId() {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryById(int id, String token) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryPublishById(int id, String token) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryByUrl(String url, String token) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean publish(int id) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean copy(int id, String json) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean test() {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public String queryStyle(int id) {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	public String queryPublishStyle(int id) {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	public String queryStyle(String url) {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	public ResponseEntity<Resource> download(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer upload(MultipartFile file, Integer userId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public MessageBean querySoluListByUploadId(Integer uploadId) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean updateUploadSolu(String json) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean insertThumbnail(String json) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean updateThumbnail(String json) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean deleteThumbnail(int soluId) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryThumbnailBySoluId(int soluId) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}

	@Override
	public MessageBean queryWithPrefixLayerById(int id, String token) {
		// TODO Auto-generated method stub
		return createMsgBean();
	}
}
